import request from '@/router/axios';

//图片
export const factorylayoutinfoDetail = () => {
  return request({
    url: '/api/blade-xy-big-screen/factorylayoutinfo/detail',
    method: 'get'
  })
}
//点位
export const factorylabelList = (layoutId, type) => {
  return request({
    url: '/api/blade-xy-big-screen/factorylabel/list',
    method: 'get',
    params: {
      layoutId, type
    }
  })
}

//弹出页数据
export const factorytourrecordList = (pointId, tourDateStart, tourDateEnd) => {
  return request({
    url: '/api/blade-xy-big-screen/factorytourrecord/list',
    method: 'get',
    params: {
      pointId, tourDateStart, tourDateEnd
    }
  })
}

//ppt
export const factoryreportpptList = () => {
  return request({
    url: '/api/blade-xy-big-screen/qrci/factoryreportppt/list',
    method: 'get'
  })
}

//弹出页 实时跟踪
export const factorytourrecordScreenData = (pointId, year, month) => {
  return request({
    url: '/api/blade-xy-big-screen/factorytourrecord/screenData',
    method: 'get',
    params: {
      pointId, year, month
    }
  })
}
//弹出页 签字情况
export const recordSignStatistic = (pointId, date) => {
  return request({
    url: '/api/blade-xy-big-screen/factorytourrecord/recordSignStatistic',
    method: 'get',
    params: {
      pointId, date
    }
  })
}